package com.sneaker.shower.entity.dto;

import io.swagger.annotations.ApiModel;
import lombok.*;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("评价")
public class AppraisedDTO extends BaseDTO {

    private Long guid;

    private String userGuid;
    @NotNull(message = "请选择评价的产品")
    private String productGuid;
    @NotNull(message = "请选择评价的店铺")
    private String organizationGuid;

    private Byte type;

    private String content;
    @NotNull(message = "请填写星级")
    private BigDecimal stars;

    private String img1;

    private String img2;

    private String img3;

    private String img4;

    private String img5;

    private String img6;
}
